import { createApp } from 'vue'
import App from './App.vue'
import { createRouter, createWebHistory } from 'vue-router';
import LoginView from './views/LoginView.vue';
import HomeView from './views/HomeView.vue';
import MonitorView from './views/MonitorView.vue';

const app = createApp(App)
const routes = [
  { path: '/login', component: LoginView },
  { path: '/home', component: HomeView },
  { path: '/monitor', component: MonitorView },
];

const router = createRouter({
  history: createWebHistory(),
  routes,
});

app.use(router).mount('#app')
